/**
 * AgentProtocolCommission
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-04-14  Created
 */
package com.lzy.product.dtos.agent;

import com.lzy.framework.template.BaseDomain;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by WIN7 on 2018/04/14.
 */
public class AgentProtocolCommissionDto implements Serializable {
    private static final long serialVersionUID = 453400841438333966L;
    /**
     * ID
     */
    private Long id;

    /**
     * 协议id
     */
    private Long protocolId;

    /**
     * 类型（1-首次 2-销售）
     */
    private Integer type;

    /**
     * 模式（1-固定模式 2-升级模式）
     */
    private Integer pattern;

    /**
     * 体系id
     */
    private Long systemId;

    /**
     * 体系名称全称
     */
    private String systemName;
    /**
     * 体系名称简称
     */
    private String systemShortName;

    /**
     * 1-百分比 2-元
     */
    private Integer mode;

    /**
     * 百分比或元
     */
    private BigDecimal value;

    /**
     * 升级规则（agent_promote的id）
     */
    private Long promoteId;

    /**
     * 最低金额
     */
    private BigDecimal lowMoney;

    /**
     * 最高金额
     */
    private BigDecimal highMoney;

    /**
     * 销售额开关
     */
    private Integer promoteType;

    public Integer getPromoteType() {
        return promoteType;
    }

    public void setPromoteType(Integer promoteType) {
        this.promoteType = promoteType;
    }

    public BigDecimal getLowMoney() {
        return lowMoney;
    }

    public void setLowMoney(BigDecimal lowMoney) {
        this.lowMoney = lowMoney;
    }

    public BigDecimal getHighMoney() {
        return highMoney;
    }

    public void setHighMoney(BigDecimal highMoney) {
        this.highMoney = highMoney;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getSystemShortName() {
        return systemShortName;
    }

    public void setSystemShortName(String systemShortName) {
        this.systemShortName = systemShortName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProtocolId() {
        return protocolId;
    }

    public void setProtocolId(Long protocolId) {
        this.protocolId = protocolId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPattern() {
        return pattern;
    }

    public void setPattern(Integer pattern) {
        this.pattern = pattern;
    }

    public Long getSystemId() {
        return systemId;
    }

    public void setSystemId(Long systemId) {
        this.systemId = systemId;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public Long getPromoteId() {
        return promoteId;
    }

    public void setPromoteId(Long promoteId) {
        this.promoteId = promoteId;
    }
}